/* body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
} */
.input-container {
  position: relative;
  padding: 0;
  width: 100%;
  height: 50px;
  /* margin-bottom: 25px; */
}

.input-container input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  box-sizing: border-box;
  border-bottom: 2px solid #c0c0c0;
  padding: 0;
  padding-top: 25px;
  background-color: transparent;
  /* transition: all 0.3s ease; */
}

.input-container label {
  position: absolute;
  bottom: 2px;
  left: 0;
  color: #808080;
  pointer-events: none;
  transition: all 0.3s ease;
}

.input-container .underline {
  position: absolute;
  bottom: 0px;
  height: 2px;
  width: 100%;
  background-color: #2c6fdb;
  transform: scaleX(0);
  transition: all 0.3s ease;
}
.input-container span {
  opacity: 0;
  color: #c0c0c0;
  font-size: 14px;
  transition: all 0.3s ease;
}

.input-container input:focus ~ label,
.input-container input:not(:placeholder-shown) ~ label {
  transform: translateY(-25px);
  font-size: 14px;
  color: #2c6fdb;
}

.input-container input:focus ~ .underline,
.input-container input:not(:placeholder-shown) ~ .underline {
  transform: scaleX(1);
}

.input-container input:focus ~ span,
.input-container input:not(:placeholder-shown) ~ span {
  /* transform: translateY(-25px); */
  opacity: 1;
  /* font-size: 14px;
  color: #2c6fdb; */
}
